{if$mojia['home']['banner']['state']}{if$maccms.mid==0}
{php}$__LIST1__ = $mojia['home']['banner']['advs']?model("Art")->listCacheData('{"ids":"'.$mojia['home']['banner']['advs'].'"}')['list']:array('list'=>array());{/php}
{php}$__LIST2__ = model('Topic')->listCacheData('{"num":"'.$mojia['home']['banner']['num'].'","order":"'.$mojia['home']['banner']['order'].'","by":"'.$mojia['home']['banner']['sort'].'","level":"'.$mojia['home']['banner']['level'].'"}')['list'];{/php}
{php}$__LIST3__ = model('Vod')->listCacheData('{"num":"'.$mojia['home']['banner']['num'].'","type":"'.$mojia['home']['banner']['type'].'","order":"'.$mojia['home']['banner']['order'].'","by":"'.$mojia['home']['banner']['sort'].'","level":"'.$mojia['home']['banner']['level'].'"}')['list'];{/php}
{if array_filter(array_merge($__LIST1__,$__LIST2__,$__LIST3__))}{include file="basics/banner" type="index" data=":array_filter(array_merge($__LIST1__,$__LIST2__,$__LIST3__))" top=":mac_default(' mo-mtxs-0px mo-mtsm-10px mo-mtmd-20px')" style=":mac_default(' mo-byxs-3by2 mo-bymd-5by2')" name=":mac_default($vo['vod_name'])"}{/if}
{elseif$maccms.mid==1}
{php}$__LIST4__ = model('Vod')->listCacheData('{"num":"'.$mojia['home']['banner']['num'].'","type":"current","order":"'.$mojia['home']['banner']['order'].'","by":"'.$mojia['home']['banner']['sort'].'","level":"'.$mojia['home']['banner']['level'].'"}')['list'];{/php}
{if$__LIST4__}{include file="basics/banner" data=":mac_default($__LIST4__)" top=":mac_default(' mo-mtxs-0px mo-mtsm-10px mo-mtmd-20px')" style=":mac_default(' mo-byxs-3by2 mo-bymd-5by2')" name=":mac_default($vo['vod_name'])" remark=":mac_default($vo['vod_remarks'],'查看详情')" image=":mac_url_img(trim(mac_default($vo['vod_pic_slide'],$vo['vod_pic'])))" href=":mac_url_vod_detail($vo)"}{/if}
{elseif$maccms.mid==2}
{php}$__LIST5__ = model('Art')->listCacheData('{"num":"'.$mojia['home']['banner']['num'].'","type":"current","order":"'.$mojia['home']['banner']['order'].'","by":"'.$mojia['home']['banner']['sort'].'","level":"'.$mojia['home']['banner']['level'].'"}')['list'];{/php}
{if$__LIST5__}{include file="basics/banner" data=":mac_default($__LIST5__)" top=":mac_default(' mo-mtxs-0px mo-mtsm-10px mo-mtmd-20px')" style=":mac_default(' mo-byxs-3by2 mo-bymd-5by2')" name=":mac_default($vo['art_name'])" remark=":mac_default($vo['art_remarks'],'查看详情')" image=":mac_url_img(trim(mac_default($vo['art_pic_slide'],$vo['art_pic'])))" href=":mac_url_art_detail($vo)"}{/if}
{/if}{assign name="banner" value="1"}{/if}